import numpy as np
import matplotlib.pyplot as plt
import random as r
i=1000
xlist=[0]
ylist=[0]
while(i>0):
    i-=1
    x=r.randint(-1,1)
    print(x)
    y=r.randint(-1,1)
    xlist.append(xlist[-1]+x)
    ylist.append(ylist[-1]+y)

plt.xticks(np.arange(-100, 101, 10))
plt.yticks(np.arange(-100, 101, 10))
plt.plot(xlist,ylist)
plt.plot(0,0,'r.')
plt.show()
    
